package com.giscloud.token.utils;

/**
 * @Author:gxd
 * @Description:
 * @Date: 19:45 2018/3/14
 * @Modified By:
 */
public class RedisConstant {

    public static String REDIS_USER_TOKEN = "amp:token:";

    public static String REDIS_USER_CODE = "amp:code:";

    public static String REDIS_SMS_LOGIN_COUNT = "amp:smslogin:count:";

    public static String REDIS_SMS_LOGIN_LOCK = "amp:smslogin:lock:";

    public static String REDIS_LOGIN_LOG = "amp:loginLog";

    public static long REDIS_LOCK_TIME_ONE_MIN = 60*1L;

    public static long REDIS_LOCK_TIME_FIVE_MIN = 60*5L;

    public static long REDIS_LOCK_TIME_ONE_HOUR = 60*60*1L;

    public static long REDIS_LOCK_TIME_TEN_MINUTES = 10*60*1L;

    public static long REDIS_EXPIRE_TIME_ONE_HOUR= 60*60*1L;

    public static long REDIS_EXPIRE_TIME_TWO_HOUR= 60*60*2L;

    public static long REDIS_EXPIRE_TIME_ONE_DAY= 60*60*24L;

    public static String REDIS_ON_LINE_SYSTEM = "online:system:";

    public static String REDIS_ON_LINE_SYSTEM_STAFF = "online:system:staffId:";
}
